package com.ice.chatserver.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
* @author ice2020x
* @Date: 2023/2/3
* @Description:
**/
@Data
@NoArgsConstructor
@Document("superUsers")
public class SuperUser {
    @Id
    private String sid;
    private String account;
    private String password;
    /**
     * 角色分类：超级管理员0，具有增删改查权限；普通管理员1，只有有查的权限
     */
    private Integer role;
    private String nickname = "wzomg-admin";
    private String avatar = "img/admin-avatar.gif";
}